package com.huilian.iotbox.data.enums;

import lombok.Getter;


@Getter
public enum MeiTuanAmountTypeEnum {
    // 其中，8，17，18，22，24，28 表示商家优惠；10，23，25，26，29表示用户支付；其余为平台优惠
    VOUCHER(2 , "抵用券"),
    INTEGRAL(5 , "积分"),
    IMMEDIATELY_HAVE_A_DISCOUNT(6 , "立减"),
    MERCHANT_VOUCHER(8 , "商户抵用券"),
    PROMOPROMO_CODECODE(12, "优惠代码"),
    MT_IMMEDIATELY_HAVE_A_DISCOUNT(15, "美团立减"),
    BUSINESS_DEDUCTION(17, "商家立减"),
    BUSINESS_DEDUCTIONBUSINESS_DEDUCTION(18, "美团商家立减"),
    SUB_CARD(21, "次卡"),
    DISCOUNT_CARD(22, "打折卡"),
    OMNICHANNEL_MEMBERSHIP(24, "全渠道会员券"),
    MERCHANTS_FOLD_AND_FOLD(28, "商家折上折"),


    C_END_MEITUAN_PAYMENT(10, "C端美团支付"),
    B_END_MEITUAN_PAYMENT(23, "B端美团支付"),
    POS_PAYMENT(25, "pos支付"),
    OFFLINE_SUBSCRIPTION_PLATFORM(26, "线下认款平台"),
    MEITUAN_DISTRIBUTION_PAYMENT(29, "美团分销支付")
    ;

    private Integer code;
    private String desc;

    MeiTuanAmountTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}